#!/bin/sh

echo "configurando classpath..."
export CLASSPATH=/home/eduardo/devel/java-workspace/DaVelha/bin

cd /home/eduardo/devel/java-workspace/DaVelha/bin

echo "compilando arquivos rmi(stubs)..."
rmic davelha.common.Game
echo "Client.class compilado..."

rmic davelha.server.Server
echo "Server.class compilado"

#rmic davelha.common.Player
#echo "Player.class compilado"

cd /home/eduardo/devel/java-workspace/DaVelha/scripts

echo "compilacao finalizada"
